// samsting : this file is auto create.

#include "Rds/2014-08-15/DescribeErrorLogsResponse.h"

namespace aliyun { namespace Rds {

DescribeErrorLogsResponse::DescribeErrorLogsResponse() {
}

const string& DescribeErrorLogsResponse::ErrorLog::GetErrorInfo(void) const {
  return ErrorInfo_;
}

const string& DescribeErrorLogsResponse::ErrorLog::GetCreateTime(void) const {
  return CreateTime_;
}

const std::vector<DescribeErrorLogsResponse::ErrorLog>& DescribeErrorLogsResponse::GetItems(void) const {
  return Items_;
}

int DescribeErrorLogsResponse::GetTotalRecordCount(void) const {
  return TotalRecordCount_;
}

int DescribeErrorLogsResponse::GetPageNumber(void) const {
  return PageNumber_;
}

int DescribeErrorLogsResponse::GetPageRecordCount(void) const {
  return PageRecordCount_;
}

const char* DescribeErrorLogsResponse::BaseKey(void) {
  return "DescribeErrorLogsResponse";
}

void DescribeErrorLogsResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Items__length = 0;
  UnmarshallerInt(Items__length, response_map, "DescribeErrorLogsResponse.Items.Length");
  if(Items__length >= 0) {
    Items_.resize(Items__length);
    for(int i1 = 0; i1 < Items__length; i1++) {
      UnmarshallerString(Items_[i1].ErrorInfo_, response_map, "DescribeErrorLogsResponse.Items["+string_ValueOfInt(i1)+"].ErrorInfo");
      UnmarshallerString(Items_[i1].CreateTime_, response_map, "DescribeErrorLogsResponse.Items["+string_ValueOfInt(i1)+"].CreateTime");
    } // for(int i1 = 0; i1 < Items__length; i1++) {
  } // if(Items__length >= 0) {

  UnmarshallerInt(TotalRecordCount_, response_map, "DescribeErrorLogsResponse.TotalRecordCount");
  UnmarshallerInt(PageNumber_, response_map, "DescribeErrorLogsResponse.PageNumber");
  UnmarshallerInt(PageRecordCount_, response_map, "DescribeErrorLogsResponse.PageRecordCount");
}


} } // namespace aliyun { namespace Rds {

// end of file 
